package org.icy.core.setup;

public class VerificationResult {

	public Object getCurrent() {
		return current;
	}

	public boolean getResult() {
		return result;
	}

	public boolean getRequired() {
		return required;
	}

	public String getName() {
		return name;
	}

	public String getFix() {
		return fix;
	}

	public final Object current;
	public final boolean result;
	public final boolean required;
	public final String name;
	public final String fix;
	
	public VerificationResult(boolean result, Object current, String name, String fix) {
		this.current = current;
		this.result = result;
		this.name = name;
		this.fix = fix;
		this.required = true;
	}
	
	public VerificationResult(boolean result, boolean required, Object current, String name, String fix) {
		this.current = current;
		this.result = result;
		this.name = name;
		this.fix = fix;
		this.required = required;
	}
}
